package testenum;

public class EnumTest02 {
    public static void main(String[] args) {
        ResultEnum success = ResultEnum.SUCCESS;
        System.out.println(success.getCode()+"\t"+success.getDesc());

        ResultEnum eroor = ResultEnum.EROOR;
        System.out.println(eroor.getCode()+"\t"+eroor.getDesc());


    }
}
